VectorRenderer.this

Creates a new [class@VectorRenderer] that fetches tiles from the given URL using a [class@TileDownloader] data source.

Equivalent to:

g_autoptr(ShumateTileDownloader) source = shumate_tile_downloader_new (url_template);
ShumateVectorRenderer *renderer = shumate_vector_renderer_new (source);

Parameters

urlTemplate string

a URL template to fetch tiles from

styleJson string

a vector style

Return Value

a newly constructed [class@VectorRenderer]

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta